package com.yztc.orangeentertainment.ui.main.findfragment.findhttp;

import com.yztc.orangeentertainment.bean.findbean.FindChangeBean;
import com.yztc.orangeentertainment.bean.findbean.FindHotBean;

import java.util.Map;

import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;
import rx.Observable;

/**
 * Created by My on 2016/10/13.
 */
public interface FindRetrofitService {
    @GET("findmore/{type}?")
    Observable<FindChangeBean> getFindChangeBean(@Path("type") String type, @QueryMap()
    Map<String, String> params);

    @GET("findmore/{type}?")
    Observable<FindHotBean> getFindHotBean(@Path("type") String type, @QueryMap() Map<String,
            String> params);
}
